package com.tanhua.domain.db;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @author 范旭升
 * @create 2021/8/23
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Questionnaire implements Serializable {

    @TableId(type = IdType.AUTO)
    private Long id;
    private String name;
    private String cover;
    private String level;
    private Integer star;
    private Integer isLock;
    @TableField(exist = false)
    private List<SoulQuestion> soulQuestions;
}